home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / util / arc / SNESDiz.lha / SNESDiz / Extras / Snesrom.txt < prev   
Text File  |  1999-01-20  |  9KB  |  344 lines

  1.  
  2.              ______  _____        _____    _______       ___  ___
  3.             /   __/ /. _  \   ___/  __/   |____   \___  /.  \/   \
  4.             \___ .\//  |.  \ / . \__ .\    |.    _/   \//        .\
  5.            /.     \\   |:  .\  __/    \\   || |  .\ !  \     \/.   \
  6.            \______ /___|____/____\____ /   |__|   \\___/____||:     \
  7.              By Mind Rape                      \___/         |______/
  8.              v1.5 (C) Damaged Cybernetics 1994-95
  9.  
  10.  
  11.    This document main goal is show where one can find the SNES ROM
  12.    information.  Most of this information was collected thru hacking
  13.    the rom to death and help from Norm/Yoshi/chp.
  14.  
  15.    License codes are taken from SU and probably incorrect.
  16.  
  17.    Source? None here, if you are going to screw with the bin,
  18.    you probably know what you are doing (HOPEFULLY).
  19.  
  20.    If you have any questions, comments,corrections, additional information,
  21.    you can either find me on IRC as (MindRape) or you can send me email
  22.    (much prefered) mind@primenet.com.  Also if you write anything
  23.    interesting then send it to me!
  24.  
  25.    You may distribute this document freely, but you may not change
  26.    the information here and redistribute.  If you use this information
  27.    please credit me.  You steal this information and say you did it,
  28.    you know it's a LIE and there you are.
  29.  
  30. =[SNES ROM Makeup]===========================================================
  31.  
  32. ROM Title     : 21 Bytes
  33.  
  34.   * Titles are all in upper case
  35.   * Japanese titles are in high ascii values
  36.     good rule of thumb if you can't read the title and
  37.     it's country code is Japan and your American,
  38.     you probably can't play it. :>
  39.  
  40. Rom Makeup    : 7654 3210
  41.                 0000-0000
  42.                 |__| |__|
  43.                 |    |
  44.                 |    |___Bank Size 0001 = HiROM   (64K Banks Mode 21)
  45.                 |                  0000 = Low Rom (32K Banks Mode 20)
  46.                 |
  47.                 |________ROM Speed 0111 = Fast Rom
  48.                                    0000 = Slow Rom
  49.  
  50.                                    * Could someone give the correct
  51.                                    * speeds of the ROMs?  I got
  52.                                    * conflicting answers.
  53.  
  54.  
  55. ROM Type      :  1 Byte
  56.  
  57.   Hex   ROM Type
  58.   ---------------------
  59.    00   ROM
  60.    01   ROM/RAM
  61.    02   ROM/SRAM
  62.    03   ROM/DSP1
  63.    04   ROM/DSP1/RAM
  64.    05   ROM/DSP1/SRAM
  65.    06   FX
  66.  
  67.    * SRAM = Save Ram
  68.    * DSP1 = Nintendo's 1st generation of DSP (Math coprocessor)
  69.    * FX   = RISC based math coprocessor
  70.             Only a couple of games support the FX Chip, Star Fox
  71.             is the most well known one.
  72.  
  73.  
  74. ROM Size      : 1 BYTE
  75.  
  76.   Hex   Size
  77.   --------------
  78.    08    2 Mbit
  79.    09    4 Mbit
  80.    0A    8 Mbit
  81.    0B   16 Mbit
  82.    0C   32 Mbit
  83.  
  84.   * As of this documentation 32MBit ROMs are the largest that
  85.     Nintendo currently uses.  Rumors of a 40+ kart are around,
  86.     but cannot be verified.
  87.  
  88.   * 8MBit ROMs are the most common in the entire library of
  89.     SNES karts
  90.  
  91.   * ROMs are always multiples 2, thus 2MBit ROMs are the smallest
  92.     Space Invaders (c) Taito is a 2MBit ROM (Japan only)
  93.  
  94.   * Easy way to calc rom size without a lookup table
  95.  
  96.       1 << (ROM_SIZE - 7) MBits
  97.  
  98.       ie.   8Mbit ROMs = 0Ah = 10d
  99.             1 << (0A-7) = 8 Mbit
  100.  
  101. SRAM Size      : 1 BYTE
  102.  
  103.   Hex   Size
  104.   --------------
  105.    00   No SRAM
  106.    01   16 Kbit
  107.    02   32 Kbit
  108.    03   64 Kbit
  109.  
  110.     * 64Kbit is the largest SRAM size that Nintendo currently uses.
  111.     * 256Kbit is standard for most copiers.
  112.  
  113.     * Easy way to calc SRAM Size without a lookup table
  114.  
  115.         1 << (3+SRAM_BYTE) Kbits
  116.  
  117.         ie. 16Kbit = 01
  118.             1 << (3+1) = 16
  119.  
  120.  
  121. COUNTRY CODE  : 1 BYTE
  122.  
  123.   Hex    Country                 Video Mode
  124.   ------------------------------------------
  125.    00    Japan                   (NTSC)
  126.    01    USA                     (NTSC)
  127.    02    Europe, Oceania, Asia    (PAL)
  128.    03    Sweden                   (PAL)
  129.    04    Finland                  (PAL)
  130.    05    Denmark                  (PAL)
  131.    06    France                   (PAL)
  132.    07    Holland                  (PAL)
  133.    08    Spain                    (PAL)
  134.    09    Germany, Austria, Switz  (PAL)
  135.    10    Italy                    (PAL)
  136.    11    Hong Kong, China         (PAL)
  137.    12    Indonesia                (PAL)
  138.    13    Korea                    (PAL)
  139.  
  140.   * Country Codes are from SU.INI, could someone verify these?
  141.  
  142. LICENSE       : 1 BYTE
  143.      0 <Invalid License Code>
  144.      1 Nintendo
  145.      5 Zamuse
  146.      8 Capcom
  147.      9 HOT B
  148.     10 Jaleco
  149.     11 STORM (Sales Curve) (1)
  150.     15 Mebio Software
  151.     18 Gremlin Graphics
  152.     21 COBRA Team
  153.     22 Human/Field
  154.     24 Hudson Soft
  155.     26 Yanoman
  156.     28 Tecmo (1)
  157.     30 Forum
  158.     31 Park Place Productions / VIRGIN
  159.     33 Tokai Engeneering (SUNSOFT?)
  160.     34 POW
  161.     35 Loriciel / Micro World
  162.     38 Enix
  163.     40 Kemco (1)
  164.     41 Seta Co.,Ltd.
  165.     45 Visit Co.,Ltd.
  166.     53 HECT
  167.     61 Loriciel
  168.     64 Seika Corp.
  169.     65 UBI Soft
  170.     71 Spectrum Holobyte
  171.     73 Irem
  172.     75 Raya Systems/Sculptured Software
  173.     76 Renovation Pruducts
  174.     77 Malibu Games (T*HQ Inc.) / Black Pearl
  175.     79 U.S. Gold
  176.     80 Absolute Entertainment
  177.     81 Acclaim
  178.     82 Activision
  179.     83 American Sammy
  180.     84 GameTek
  181.     85 Hi Tech
  182.     86 LJN Toys
  183.     90 Mindscape
  184.     93 Technos Japan Corp. (Tradewest)
  185.     95 American Softworks Corp.
  186.     96 Titus
  187.     97 Virgin Games
  188.     98 Maxis
  189.    103 Ocean
  190.    105 Electronic Arts
  191.    107 Laser Beam
  192.    110 Elite
  193.    111 Electro Brain
  194.    112 Infogrames
  195.    113 Interplay
  196.    114 LucasArts
  197.    115 Sculptured Soft
  198.    117 STORM (Sales Curve) (2)
  199.    120 THQ Software
  200.    121 Accolade Inc.
  201.    122 Triffix Entertainment
  202.    124 Microprose
  203.    127 Kemco (2)
  204.    130 Namcot/Namco Ltd. (1)
  205.    132 Koei/Koei! (second license?)
  206.    134 Tokuma Shoten Intermedia
  207.    136 DATAM-Polystar
  208.    139 Bullet-Proof Software
  209.    140 Vic Tokai
  210.    143 I'Max
  211.    145 CHUN Soft
  212.    146 Video System Co., Ltd.
  213.    147 BEC
  214.    151 Kaneco
  215.    153 Pack in Video
  216.    154 Nichibutsu
  217.    155 TECMO (2)
  218.    156 Imagineer Co.
  219.    160 Wolf Team
  220.    164 Konami
  221.    165 K.Amusement
  222.    167 Takara
  223.    169 Technos Jap. ????
  224.    170 JVC
  225.    172 Toei Animation
  226.    173 Toho
  227.    175 Namcot/Namco Ltd. (2)
  228.    177 ASCII Co. Activison
  229.    178 BanDai America
  230.    180 Enix
  231.    182 Halken
  232.    186 Culture Brain
  233.    187 Sunsoft
  234.    188 Toshiba EMI/System Vision
  235.    189 Sony (Japan) / Imagesoft
  236.    191 Sammy
  237.    192 Taito
  238.    194 Kemco (3) ????
  239.    195 Square
  240.    196 NHK
  241.    197 Data East
  242.    198 Tonkin House
  243.    200 KOEI
  244.    202 Konami USA
  245.    205 Meldac/KAZe
  246.    206 PONY CANYON
  247.    207 Sotsu Agency
  248.    209 Sofel
  249.    210 Quest Corp.
  250.    211 Sigma
  251.    214 Naxat
  252.    216 Capcom Co., Ltd. (2)
  253.    217 Banpresto
  254.    219 Hiro
  255.    221 NCS
  256.    222 Human Entertainment
  257.    223 Ringler Studios
  258.    224 K.K. DCE / Jaleco
  259.    226 Sotsu Agency
  260.    228 T&ESoft
  261.    229 EPOCH Co.,Ltd.
  262.    231 Athena
  263.    232 Asmik
  264.    233 Natsume
  265.    234 King/A Wave
  266.    235 Atlus
  267.    236 Sony Music
  268.    238 Psygnosis / igs
  269.    243 Beam Software
  270.    244 Tec Magik
  271.    255 Hudson Soft
  272.  
  273.   * License Codes are from SU.INI, could someone verify these?
  274.  
  275.   * I believe the # of licenses is low.  Is it possible that
  276.     License and Country codes are used in conjuction to produce
  277.     that many more licenses?
  278.  
  279. VERSION - 1 byte
  280.  
  281.   * The Version is interpeted this way.
  282.     1.?? - (thanks to yoshi for the correction)
  283.  
  284. CHECKSUM COMPLEMENT - 2 bytes the complement of the checksum :>
  285.  
  286.   The bits are reversed of the CHECKSUM
  287.  
  288. CHECKSUM            - 2 bytes Checksum of the bin
  289.  
  290.   * Anyone know how the checksum is calculated for the ROM?
  291.  
  292. NMI/VBL Vector     - 2 bytes                            - OFFSET 81FAh  (lowrom)
  293.                                                           OFFSET 101FAh (hirom)
  294.  
  295. RESET Vector       - 2 bytes where to start our code at - OFFSET 81FCh  (lowrom)
  296.                                                         - OFFSET 101FAh (hirom)
  297.   * 8000h is common for Low Roms
  298.  
  299. =[READING THE CORRECT BIN INFORMATION]==================================
  300.  
  301.  The bin information can be found in 2 possible places,
  302.  
  303.     a) End of the 1st 32K bank (Low ROM)  (81c0h/w 512 byte header)
  304.     b) End of the 1st 64K bank (HiROM)    (101c0h/w 512 byte header)
  305.  
  306.  You could use UCON's method (author chp).
  307.  
  308.  The method is as followed:
  309.  
  310.  UCON's method is to OR the Checksum and the Complement.  If the
  311.  resulting value is FFFFh, then we found the correct location of
  312.  to extract rest of the data out.  HOWEVER!  This fails on several
  313.  karts, such as Castle Wolfenstien 3D and Super Tetris 3 for example.
  314.  
  315.  Reason being is that not all developers put the correct complement
  316.  or bother even to implement it.  I would suspect!  That this maybe
  317.  a ploy to keep other developers out of the bin, for if they can't
  318.  find the reset vector, disassembling becomes a bit difficult.
  319.  
  320. =[Other Information on SNES?]================================================
  321.  
  322.  Famicom Development FTP Site
  323.    busop.cit.wayne.edu - pub/famidev
  324.  
  325.  Yoshi's SNES Documentation 2.3
  326.  
  327.    This is considered the BEST source of SNES hardware information,
  328.    and the most complete!
  329.  
  330.    busop.cit.wayne.edu - pub/famidev/incoming/sndoc230.lzh
  331.  
  332. =[w0rd!]=====================================================================
  333.  
  334. w0rd to all following console dudes
  335.  
  336. GoosE_,yoshi,sir jinx,chp,SHORYUKEN,_bubsy,felon,archimede
  337. rugalz,SinZ,dragonz,procyon,royce,hoodlem,bri_acid,kamikitty,
  338. norm,ZillionZ Members,grayarea,Victor,drunkfux(h0h0h0h0),dmessiah,
  339. piratendo
  340.  
  341. <insert your favorite group(s) greet here> (heh)
  342.  
  343. Later Mind Rape
  344.